<%@ page language="java" contentType="text/html; charset=US-ASCII"
    pageEncoding="US-ASCII"%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
    <link type="text/css" rel="stylesheet" href="css/orderStyle.css">
  </head>

  <body onload="listProduct();">
  <%@include file="headerComitato.jsp"%>
	
	<script type="text/javascript" src="js/list.js"></script>
	<script type="text/javascript" src="js/prodottiAccettati.js"></script>
	<script type="text/javascript" src="js/noty/packaged/jquery.noty.packaged.min.js"></script>
	
  
   <div id="container_accepted_products" class="search-result-panel">

		<div class="panel panel-warning">

			<div class="panel-heading">
				<h4>Prodotti accettati</h4>
			</div>
			
			<div class="well" style="padding-top: 0px; overflow:auto; height: 500px;">
				<!-- Table -->
				<div class="add-scroll" style="height: 100%;">

					<div class="list-group" id="prodotti">

						<table style="margin-top:15px;">
							<tr>
								<td style='width: 5%;'>
									<input type='checkbox' onclick='selectAll(this)'>
								</td>
								<td style='width: 40%;'>
									<button class="btn btn-warning sort" data-sort="titolo">Titolo</button>
								</td>
								<td style='width: 40%;'>
									<button class="btn btn-warning sort" data-sort="autori">Autori</button>
								</td>
								<td style='width: 40%;'>
									<button class="btn btn-warning sort" data-sort="stato">Stato</button>
								</td>
								<td style='width: 40%;'>
									<button class="btn btn-warning sort" data-sort="data">Data</button>
								</td>
							</tr>
						</table>


						<ul class="list"  id="list_accepted_products">
					 
					 
					 </ul> 
					</div>

				</div>
			</div>
		</div>
	</div>
	
	<div class="form-group" style="position: absolute; left: calc(43%);">
		<button class="btn btn-default glyphicon glyphicon-thumbs-up" name="valida" id="validaButton" onClick="valida()">
		<span style="font-family:arial">  Valida</span></button>
		&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
		<button  class="btn btn-default glyphicon glyphicon-thumbs-down" name="rifiuta" id="rifiutaButton" onClick="rifiuta()">
		<span style="font-family:arial"> Rifiuta</span></button>
	</div>
	
	<%@include file="footer.jsp"%>

  </body>
</html>